package com.jctrip.hotel.source.model.hmein.resp;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

/**
 * @Author henry
 * @Date 2023/4/13 15:36
 * @Description
 */
@Data
public class HmeinResult implements Serializable {
    @JsonProperty("ResCode")
    private Integer ResCode;
    @JsonProperty("ResDesc")
    private String ResDesc;

    private String fail;

    public Boolean getFail() {
        return ResCode == 0 ? false : Boolean.TRUE;
    }
}
